import java.util.Date;

public class Student extends Person{
    private int id;
    private String date;
    public  Student(String name,String sex,int id,String date){
        super(name,sex);
        this.id=id;
        this.date=date;
    }
    public void showStudent(){

        System.out.println(id+"\n"+date+"\n"+super.getName()+"\n"+super.getSex());
    }
}
